package bosc.cn.dto.common;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author tianshq
 * @date 2025/9/8 20:23
 * @description
 */
@Data
@Accessors(chain =true)
@ApiModel("公共响应头")
public class CommonResponse {


    private String retCd;
    private String retMsg;
    @JsonFormat(pattern = "yyyyMMdd HHmmssSSS")
    private LocalDateTime retTm;

    public String getRetCd() {
        return retCd;
    }

    public void setRetCd(String retCd) {
        this.retCd = retCd;
    }

    public String getRetMsg() {
        return retMsg;
    }

    public void setRetMsg(String retMsg) {
        this.retMsg = retMsg;
    }

    public LocalDateTime getRetTm() {
        return retTm;
    }

    public void setRetTm(LocalDateTime retTm) {
        this.retTm = retTm;
    }

}
